package com.cosmoplat.xikai.business.domain.dto.productPlan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.ArrayList;

@ApiModel(value = "ProductionPlan数据")
@Data
public class ProductionPlanDTO {
    private String id;
    /**
     * 派工单Id
     */
    @ApiModelProperty(value = "派工单id", example = "TASKNO001")
    @NotBlank(message = "派工单Id不能为空")
    private String orderId;
    /**
     * 派工单号
     */
    @ApiModelProperty(value = "派工单号", example = "TASKNO001")
    @NotBlank(message = "派工单号不能为空")
    private String orderNo;
    /**
     * 物料Id
     */
    @ApiModelProperty(value = "物料id", example = "TASKNO001")
    @NotBlank(message = "物料Id不能为空")
    private String materialId;
    /**
     * 物料编号
     */
    @ApiModelProperty(value = "物料编号", example = "TASKNO001")
    @NotBlank(message = "物料编号不能为空")
    private String materialCode;
    /**
     * 物料名称
     */
    @ApiModelProperty(value = "物料名称", example = "TASKNO001")
    @NotBlank(message = "物料名称不能为空")
    private String materialName;
    /**
     * 物料规格
     */
    @ApiModelProperty(value = "物料规格", example = "TASKNO001")
    private String materialSpec;
    /**
     * 物料型号
     */
    @ApiModelProperty(value = "物料型号", example = "TASKNO001")
    private String materialModel;
    private ArrayList<DispatchTaskDTO> dispatchTask;
}
